package org.xy.sys.service;

import org.springframework.stereotype.Component;
import org.xy.common.daoitf.BaseMapper;
import org.xy.common.serviceitf.BaseService;
import org.xy.sys.dao.ModelMapper;
import org.xy.sys.domain.ModelInfo;

import javax.annotation.Resource;

@Component
public class ModelService extends BaseService<ModelInfo> {

    @Resource(name = "modelMapper")
    private ModelMapper modelMapper;

    public BaseMapper<ModelInfo> getDao() {
        return modelMapper;
    }
}
